<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<%@ include file="/extjs/include/all.jsp"%>
<title>流程图</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/edu.ccut.saturn.manager.bundles.impl/extComponentModule/page/js/rkxt/common/js/Graphic.js"></script>
</head>
<%
	String fullkey = (String)request.getParameter("fullKey");               
%>
<body>
<table style="width: 100%; height: 100%"><tr><td>
	<div id="graphicDiv" style="width:100%;height: 100%"></div>
	</td></tr><tr><td>
	<div id="parameterDiv" style="width:100%;height: 100%"></div>
</td></tr></table>
<script>
	Ext.onReady(function(){
			var height = Ext.get('graphicDiv').getHeight();
			var graphic = new Ext.Panel({
				title:'流程图',
				renderTo:'graphicDiv',
				collapsible:true,
				html:'<iframe name="graphic" frameborder="0" id="graphic" width="100%" height="'+height+'px"></iframe>'
			});
			var parameter = new Ext.Panel({
				title:'详细信息',
				collapsible:true,
				renderTo:'parameterDiv',
				html:'<iframe name="parameterIframe" frameborder="0" id="parameterIframe" width="100%" height="'+height+'px"></iframe>'
			});
			var param = "fullKey=<%=fullkey%>&pathContext=${pageContext.request.contextPath}";
			action = "<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/extComponentModule/action/GraphicByFullKeyAction.action?"+param;
			document.getElementById('graphic').src = action;
	});
</script>
</body>
</html>